import request from "@/utils/request.js";

/**
 * 分页查询组合分段信息
 * @param {Object} params - 查询参数，如 current、pageSize、ship_number、ship_type
 */
export const getCoupleSegmentListService = (params) => {
  return request.get('/couple_segment/getCouple', {
    params: params
  });
};


/**
 * 批量导入组合分段
 * @param {Array} list - 组合分段数据列表
 * @returns {Promise}
 */
export const importCoupleSegmentService = (list) => {
  return request.post('/couple_segment/importCouple', {
    list: list
  });
};
